function main() {
    //程序入口
    require(["pluginAttach", "knockout"], function (pluginAttach, ko) {
        function ViewModel() {
            this.buyer = { name: "Franklin", credits: 250 };
            this.seller = { name: "Mario", credits: 5800 };
        }

        ko.applyBindings(new ViewModel(), document.getElementById("root"));
    });
}
require(["../scripts/require.config"], main);
